<template>
  <div class="switch">
    <input type="checkbox" class="inputs" id="inputs" />
    <label for="inputs"></label>
  </div>
</template>

<script setup>
</script>

<style scoped>
.switch > label {
  height: 30px;
  width: 60px;
  border: 1px solid #ccc;
  background-color: #cbc9cc;
  border-radius: 15px;
  display: flex;
  position: relative;
}
.switch > label ::before {
  position: absolute;
  left: 0;
  top: 0;
  content: "";
  height: 30px;
  width: 30px;
  background-color: white;
  border-radius: 50%;
  /* z-index: 10; */
}
</style>